package com.hjq.mallauth.feign;

import com.hjq.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @auther HJQ
 */
@FeignClient("mall-third-party")
public interface ThirdPartyFeign {
    @RequestMapping("/sms/sendCode")
     R sendCode(@RequestParam("phoneNum") String phoneNum);
}
